#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "database/DatabaseManager.h"

QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE
class AddMouldWidget;
class AddBlockWidget;
class AddConstructWidget;
class ModifyConstructWidget;

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

    void setupUi();

private slots:
    void on_test_read_btn_clicked();

    void on_test_write_btn_clicked();

private:
    Ui::MainWindow *ui;
    AddMouldWidget *mAddMouldWidget = nullptr;
    AddBlockWidget *mAddBlockWidget = nullptr;
    AddConstructWidget * mAddConstructWidget = nullptr;
    ModifyConstructWidget *mModifyConstructWidget = nullptr;
};
#endif // MAINWINDOW_H
